﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/Site.master" AutoEventWireup="true" CodeFile="BanDo1.aspx.cs" Inherits="Pages_BanDo1" %>

<%@ Register assembly="GMaps" namespace="Subgurim.Controles" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

 <table class="style1" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td class="KhoiXanhLa" valign="middle">
               
                <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Pages/BanDo.aspx" 
                    ToolTip="Xem địa điểm các hệ thống" BackColor="White" BorderColor="White"> Hệ Thống E-Diamond Cửa Chúng Tôi</asp:HyperLink>
               
            </td>
        </tr>
        <tr>
            <td valign="top">
                <asp:DataList ID="DataList1" runat="server" CellPadding="4" ForeColor="#333333" 
                    HorizontalAlign="Center" RepeatColumns="4" RepeatDirection="Horizontal" 
                    DataSourceID="EntityDataSource1" Width="100%" CaptionAlign="Top" 
                    DataKeyField="DiamondID">
                    <AlternatingItemStyle BackColor="White" />
                    <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <ItemStyle BackColor="#FFFBD6" ForeColor="#333333" />
                    <ItemTemplate>
                        <asp:HyperLink ID="HyperLink3" runat="server" 
                            NavigateUrl='<%# "~/Pages/BanDo.aspx?ID="+Eval("DiamondID") %>' 
                            Text='<%# Eval("Ten") %>'></asp:HyperLink>
                        <br />
                        <asp:Label ID="Label1" runat="server" 
                            Text='<%# "Số:" + Eval("So")+", Đường:" + Eval("Duong")+", Phường:" + Eval("Phuong")+", Quận:" + Eval("Quan")+", Tỉnh thành:" + Eval("TinhThanh") %>'></asp:Label>
                        <br />
                    </ItemTemplate>
                    <SelectedItemStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                </asp:DataList>
                <asp:EntityDataSource ID="EntityDataSource1" runat="server" 
                    ConnectionString="name=EDiamondEntities1" 
                    DefaultContainerName="EDiamondEntities1" EnableFlattening="False" 
                    EntitySetName="Diamonds">
                </asp:EntityDataSource>
            </td>
        </tr>
        <tr>
            <td>
             
                <cc1:GMap ID="GMap1" runat="server" Width="100%"/>
            </td>
        </tr>
    </table>


</asp:Content>

